<?php
/**
 * Created by PhpStorm.
 * User: sks
 * Date: 2015/12/15
 * Time: 13:49
 */

class Involved_AdsModel extends BaseModel{

    protected $table = 'ads';

    /**
     * 首页banner
     * @return mixed
     */
    public function BannerShow()
    {
        return  DB::table($this->table)
            ->select('img')
            ->where(['type'=>1,'is_rec'=>1])
            ->get();
    }




}